import { HTTP } from '../utils/http.js'

class Stepnum extends HTTP {

    // 步数打卡
    stepdetail(objs) {
        return this.request({
        url: '/steps_punch/detail',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 步数打卡记录
    user_detail_list(objs) {
        return this.request({
        url: '/user_it_steps_punch/user_detail_list',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 刷新步数
    refresh_stepts(objs) {
        return this.request({
        url: '/steps_punch/refresh_stepts',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    

}

export { Stepnum }